package com.jixi.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jixi.mapper.SchoolMapper;
import com.jixi.pojo.entity.School;
import com.jixi.pojo.vo.SchoolLoginListVo;
import com.jixi.service.SchoolService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SchoolServiceImpl extends ServiceImpl<SchoolMapper, School> implements SchoolService {
    @Autowired
    private SchoolMapper schoolMapper;

    @Override
    public List<SchoolLoginListVo> loginSchoolList() {
        List<SchoolLoginListVo> resultList = schoolMapper.loginSchoolList();
        return resultList;
    }
}
